Okay, so I am trying to do the CCK Gallery as shown in this video tutorial: http://www.theartlab.net/files/drupalschool009.m4v (also shown here http://drupal.org/node/144725 as a Text tutorial...but the text tutorial is a little older and a little different).

The problem I'm encountering is that when setting up the Views and Adding a Field for images. I go to the Field's option area to change it to Thickbox, however, Thickbox is not available. I'm not really sure why though because I have followed the tutorial almost exactly. There are a few discrepancies in the versions of a few of the modules from what was used in the video tutorial, but what I have is either a finalized version of what was used in the tutorial or a slight upgrade from it. Not sure if that is where my problem lies, but thought I'd mention it.

Here's a list of the modules and their versions that I'm using for this:
Content 5.x-1.5
Image 5.x-1.1
Imagecache 5.x-1.3
Views 5.x-1.6-beta5
Views Bonus Pack
Custom Pagers 5.x-1.7
Thickbox 5.x-1.0

Thoughts?

Thanks,
Collin

Comments

nancydru’s picture

Thickbox is not something you add as a field in Views, it is a module that is invoked by clicking on an image - generally in a gallery. At least that's the way it works for me.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

Anonymous’s picture

Yes, and I am implementing into a CCK Gallery. If you check out the video tutorial I mentioned above, it shows them selecting Thickbox: Image under the Option category in Views>Field. In the end it makes the images in your gallery clickable and when you click it displays a Thickbox with your image in it. :/

nancydru’s picture

I watched it yesterday and don't remember them doing that part but then I am AD/HD, so 21 minutes is long to hold my attention.

Oh, and I have used Thickbox with Image Gallery and didn't have to do anything but click on an image.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

Anonymous’s picture

Yea, they do it at 15:30 in the video. So unless I am seeing that incorrectly, it's definitly showing up under Options.

Anonymous’s picture

I found the problem. Or at least kinda. It has something to do with either the Content Type name or the Content Type Field Name. I had called mine "screenshot" when I created them. However, in the gallery tutorial they called it "image". So I went about changing those to the same names the gallery tutorial had and Wala, it now works. I can see Thickbox in the drop-down menu. However, I am a little confused, because afterwards I change them back and I still saw Thickbox as an option. The Only things I change in playing around before getting it to work was the Content Type and Content Type Field Names. So yea...I dunno.

wmclark’s picture

I had the same exact problem, I didn't want to use the content type "image". I wanted to use the content type "screenshot".

AndiS’s picture

I got another problem with this method for an image gallery:

how do I get Thickbox to use the scaled-down version (called "Display" in the tutorial) for it's full view?

It is created when viewing the picture node directly, so Imagecache is working ok.

But when I click the thumbnail (which is created & displayed correctly), Thickbox uses the originally uploaded picture, not the one that should be stored in "files/imagecache/display".
(the link in the source code, the properties of the image in the thickbox, all point to the original picture)

My only deviation from the tutorial is that I'm using list view instead of the bonus grid view.

any help is appreciated!

-Andi

jenlampton’s picture

If you don't see the thickbox options in your views field display options (or content-type display options) then you need to clear your cache. Changing the name of your content type (or the name of your imagefield) results in the cache being rebuilt, so that's why those thickbox options suddenly became available after you changed the field name, but it doesn't really have anything to do with the names themselves.

Hope that helps,
Jen